package cn.dhnep.demo.service;

import cn.dhnep.demo.pojo.Admin;
import cn.dhnep.demo.pojo.Menu;
import cn.dhnep.demo.pojo.Notice;
import cn.dhnep.demo.pojo.User;
import cn.dhnep.demo.util.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dhn
 * @since 2021-08-09
 */
public interface HomepageService extends IService<User> {

    int usercount();

    int horsemancount();

    int ordercount();

    int merchantcount();

    List<Notice> selectNotice();

    public List<Notice>selectPageList(Page page);
    public Integer selectPageCount(Page page);

    int onticeadd(Notice notice);
    int onticedelete(Integer id);

    List<Map<String,Object>>usercurve();

    List<Map<String,Object>>horsemancurve();

    List<Map<String,Object>>ordercurve();

    List<String>datacurve();

    List<Menu>menyList();
}
